/*  zwt */
package cn.mandy.sysadmin.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

public class MandyBlobData implements Serializable {
    private Long id;

    @ApiModelProperty(value = "参考表表名")
    private String referenceTable;

    @ApiModelProperty(value = "参考表主键ID")
    private Long referenceTableId;

    @ApiModelProperty(value = "参考字段名")
    private String referenceColumn;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "数据")
    private byte[] data;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getReferenceTable() {
        return referenceTable;
    }

    public void setReferenceTable(String referenceTable) {
        this.referenceTable = referenceTable;
    }

    public Long getReferenceTableId() {
        return referenceTableId;
    }

    public void setReferenceTableId(Long referenceTableId) {
        this.referenceTableId = referenceTableId;
    }

    public String getReferenceColumn() {
        return referenceColumn;
    }

    public void setReferenceColumn(String referenceColumn) {
        this.referenceColumn = referenceColumn;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public byte[] getData() {
        return data;
    }

    public void setData(byte[] data) {
        this.data = data;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", referenceTable=").append(referenceTable);
        sb.append(", referenceTableId=").append(referenceTableId);
        sb.append(", referenceColumn=").append(referenceColumn);
        sb.append(", remark=").append(remark);
        sb.append(", data=").append(data);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}